<?php
######################################################################################
# XC SEO :: http://code.google.com/p/x-cart-seo/
# Description: This is an SEO optimizing module for the X-Cart shopping cart
# Author: PHP Site Solutions (intel352 aka Jon Langevin)
# Website: http://www.phpsitesolutions.com
# License: http://www.gnu.org/licenses/gpl.html GPL version 3 or any later version
#######################################################################################

if ( !defined('XCART_START') ) { header("Location: ../"); die("Access denied"); }

#
# The following turns on support for regular Customer mode and Admin area Froogle export
#

# Removed  && $HTTPS != "on" from if statement
if(!$smarty->webmaster_mode && (AREA_TYPE=='C') || ((AREA_TYPE=='A'||AREA_TYPE=='P') && $mode == "fcreate")){
	include $xcart_dir.'/modules/XC_SEO/outputfilter.seo.php';
	if(AREA_TYPE=='C' && $_SERVER['REQUEST_METHOD']=='GET')
		include $xcart_dir . '/modules/XC_SEO/seo.php';
	if(class_exists('seo_filter')) {
		$seo = new seo_filter;
		$smarty->register_outputfilter(array($seo,'outputfilter'));
	}
}

?>